



#include <Ogre.h>
#include "OgreInterface.h"

using namespace Ogre;

void OgreInterface::setSkyBox( char *resourceFolder ) {
    //Load skybox here

    //Hard-code initialization of the mars skymap resources
    ResourceGroupManager *rgm = ResourceGroupManager::getSingletonPtr();
    rgm->addResourceLocation( resourceFolder, "FileSystem", "General" );
    rgm->initialiseAllResourceGroups();
    //Set the skybox of the scene to the mars map
    mSceneMgr->setSkyBox( true, "MarsSkyBox", 50 );
}
